#include <iostream>
using namespace std;

void print(const string &word) {
#ifndef ndebug
    cerr << __func__ << ": word is " << word << endl;
    if (word.size() < 4) {
        cerr << "error: " << __file__
             << " : in function " << __func__
             << " at line " << __line__ << endl
             << "\tcompiled on " << __date__
             << " at " << __time__ << endl
             << "\tword read was \"" << word
             << "\": length too short" << endl;
    }
#endif
}

int main() {
    print("abc");
}